package com.study.gupao.promotion;

/**
 * @ClassName: PromotionActivity
 * @Description: 优惠活动
 * @author: Administrator
 * @Date: 2019-03-14 14:44
 */
public class PromotionActivity {

    private PromotionStrategy promotionStrategy;

    public PromotionActivity(PromotionStrategy promotionStrategy) {
        this.promotionStrategy = promotionStrategy;
    }

    public void execute(){
        promotionStrategy.doPromotion();
    }
}
